package com.lipaluma.examples.annotation.shoes;

import com.lipaluma.annotations.mapping.MapColumn;
import com.lipaluma.csv.annotations.config.CSV;

@CSV(delimiter=';', hasHeader=true, mapColumnsByHeaders=true)
public class ShoeWithArray {
	@MapColumn
	private String mark;
	
	@MapColumn
	private String modele;
	
	@MapColumn(separator="|", keepAll=true, trim=true)
	private Integer[] sizes;
	
	@MapColumn(separator="|", trim=true)
	private Color[] colors;

	@MapColumn
	private double price;
	
	public String getMark() {
		return mark;
	}
	public String getModele() {
		return modele;
	}
	public Integer[] getSizes() {
		return sizes;
	}
	public Color[] getColors() {
		return colors;
	}
	public double getPrice() {
		return price;
	}
}
